1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
3 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
4 <link rel=
"stylesheet" type=
"text/css" href=
"../refdoc.css">
5 <title>Namespace: System.Runtime.Remoting
</title>
8 <h2>Namespace: System.Runtime.Remoting
</h2>
11 <p> The
<a href=
"../System.Runtime.Remoting/System.Runtime.Remoting.html">System.Runtime.Remoting
</a> namespace provides classes and interfaces that allow developers to create and configure distributed applications. Some of the more important classes of the
<a href=
"../System.Runtime.Remoting/System.Runtime.Remoting.html">System.Runtime.Remoting
</a> namespace are the
<a href=
"../System.Runtime.Remoting/types/RemotingConfiguration.html">RemotingConfiguration
</a> class, the
<a href=
"../System.Runtime.Remoting/types/RemotingServices.html">RemotingServices
</a> class, and the
<a href=
"../System.Runtime.Remoting/types/ObjRef.html">ObjRef
</a> class.
</p>
12 <p> The
<a href=
"../System.Runtime.Remoting/types/RemotingConfiguration.html">RemotingConfiguration
</a> class contains static methods for interfacing with configuration settings. The
<a href=
"#Configure">RemotingConfiguration.Configure
</a> method allows developers to configure the Remoting infrastructure through the use of XML formatted configuration files. The
<a href=
"../System.Runtime.Remoting/types/RemotingConfiguration.html">RemotingConfiguration
</a> class also contains several methods for client-end and server-end registration of client and server activated objects that reside on the server.
</p>
13 <p> The
<a href=
"../System.Runtime.Remoting/types/RemotingServices.html">RemotingServices
</a> class provides a number of methods to help in using and publishing remoted objects. The
<a href=
"#Marshal">RemotingServices.Marshal
</a> method provides the functionality for storing all the relevant information required to activate and communicate with a remote object in an instance of the
<a href=
"../System.Runtime.Remoting/types/ObjRef.html">ObjRef
</a> class for later serialization and transmission to a remote location. The
<a href=
"#Unmarshal">RemotingServices.Unmarshal
</a> method reverses this process, creating a proxy for a remote object that can be used by an application without regard for any remoting subdivisions.
</p>
14 <p> The
<a href=
"../System.Runtime.Remoting/types/ObjRef.html">ObjRef
</a> class holds all the relevant information required to activate and communicate with a remote object. This class is a serializable representation of an object that is transmitted to a remote location using a channel, where it is unmarshaled (see
<a href=
"#Unmarshal">RemotingServices.Unmarshal
</a>) and can be used to create a local proxy of the remoted object.
</p>
17 <h3>Members of System.Runtime.Remoting Namespace
</h3><b>Classes
</b><dl>
19 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
21 <th bgcolor=
"#C0C0C0">Class
</th>
22 <th bgcolor=
"#C0C0C0">
27 <td width=
"30%"><a href=
"types/ActivatedClientTypeEntry.html">class ActivatedClientTypeEntry
</a></td>
28 <td width=
"60%"> Holds values for an object type registered on the client end as a type that can be activated on the server.
32 <td width=
"30%"><a href=
"types/ActivatedServiceTypeEntry.html">class ActivatedServiceTypeEntry
</a></td>
33 <td width=
"60%"> Holds values for an object type registered on the service end as one that can be activated on request from a client.
37 <td width=
"30%"><a href=
"types/InternalRemotingServices.html">class InternalRemotingServices
</a></td>
38 <td width=
"60%"> Reserved class for internal use only.
42 <td width=
"30%"><a href=
"types/ObjectHandle.html">class ObjectHandle
</a></td>
43 <td width=
"60%"> Wraps marshal by value object references, allowing them to be returned through an indirection.
47 <td width=
"30%"><a href=
"types/ObjRef.html">class ObjRef
</a></td>
48 <td width=
"60%"> Stores all relevant information required to generate a proxy in order to communicate with a remote object.
52 <td width=
"30%"><a href=
"types/RemotingConfiguration.html">class RemotingConfiguration
</a></td>
53 <td width=
"60%"> Provides various static methods for configuring the remoting infrastructure.
57 <td width=
"30%"><a href=
"types/RemotingException.html">class RemotingException
</a></td>
58 <td width=
"60%"> The exception that is thrown when something has gone wrong during remoting.
62 <td width=
"30%"><a href=
"types/RemotingServices.html">class RemotingServices
</a></td>
63 <td width=
"60%"> Provides several methods for using and publishing remoted objects and proxies. This class cannot be inherited.
67 <td width=
"30%"><a href=
"types/RemotingTimeoutException.html">class RemotingTimeoutException
</a></td>
68 <td width=
"60%"> The exception that is thrown when the server or the client cannot be reached for a previously specified period of time.
72 <td width=
"30%"><a href=
"types/ServerException.html">class ServerException
</a></td>
73 <td width=
"60%"> The exception that is thrown to communicate errors to the client when the client connects to non .NET Framework applications that cannot throw exceptions.
77 <td width=
"30%"><a href=
"types/SoapServices.html">class SoapServices
</a></td>
78 <td width=
"60%"> Provides several methods for using and publishing remoted objects in SOAP format.
82 <td width=
"30%"><a href=
"types/TypeEntry.html">class TypeEntry
</a></td>
83 <td width=
"60%"> Implements a base class that holds the configuration information used to activate an instance of a remote type.
87 <td width=
"30%"><a href=
"types/WellKnownClientTypeEntry.html">class WellKnownClientTypeEntry
</a></td>
88 <td width=
"60%"> Holds values for an object type registered on the client as a well-known type object (single call or singleton).
92 <td width=
"30%"><a href=
"types/WellKnownServiceTypeEntry.html">class WellKnownServiceTypeEntry
</a></td>
93 <td width=
"60%"> Holds values for an object type registered on the service end as a well-known type object (single call or singleton).
98 </dl><br><b>Interfaces
</b><dl>
100 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
102 <th bgcolor=
"#C0C0C0">Interface
</th>
103 <th bgcolor=
"#C0C0C0">
108 <td width=
"30%"><a href=
"types/IChannelInfo.html">interface IChannelInfo
</a></td>
109 <td width=
"60%"> Provides custom channel information that is carried along with the
<a href=
"../System.Runtime.Remoting/types/ObjRef.html">ObjRef
</a>.
113 <td width=
"30%"><a href=
"types/IEnvoyInfo.html">interface IEnvoyInfo
</a></td>
114 <td width=
"60%"> Provides envoy information.
118 <td width=
"30%"><a href=
"types/IObjectHandle.html">interface IObjectHandle
</a></td>
119 <td width=
"60%"> Defines the interface for unwrapping marshal by value objects from indirection.
123 <td width=
"30%"><a href=
"types/IRemotingTypeInfo.html">interface IRemotingTypeInfo
</a></td>
124 <td width=
"60%"> Provides type information for an object.
129 </dl><br><b>Enumerations
</b><dl>
131 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
133 <th bgcolor=
"#C0C0C0">Enumeration
</th>
134 <th bgcolor=
"#C0C0C0">
139 <td width=
"30%"><a href=
"types/WellKnownObjectMode.html">enumeration WellKnownObjectMode
</a></td>
140 <td width=
"60%"> Defines how well-known objects are activated.
145 </dl><br><b>Namepace hierarchy
</b><br><ul class=
"none">
146 <li><a href=
"../System/types/Object.html">System.Object
</a></li>
148 <li><a href=
"../System/types/Exception.html">System.Exception
</a></li>
150 <li><a href=
"../System/types/SystemException.html">System.SystemException
</a></li>
152 <li><a href=
"../System.Runtime.Remoting/types/RemotingException.html">System.Runtime.Remoting.RemotingException
</a></li>
154 <li><a href=
"../System.Runtime.Remoting/types/RemotingTimeoutException.html">System.Runtime.Remoting.RemotingTimeoutException
</a></li>
158 <li><a href=
"../System.Runtime.Remoting/types/ServerException.html">System.Runtime.Remoting.ServerException
</a></li>
163 <li><a href=
"../System/types/MarshalByRefObject.html">System.MarshalByRefObject
</a></li>
165 <li><a href=
"../System.Runtime.Remoting/types/ObjectHandle.html">System.Runtime.Remoting.ObjectHandle
</a> ---
<a href=
"../System.Runtime.Remoting/types/IObjectHandle.html">System.Runtime.Remoting.IObjectHandle
</a></li>
169 <li><a href=
"../System.Runtime.Remoting/types/ObjRef.html">System.Runtime.Remoting.ObjRef
</a> ---
<a href=
"../System.Runtime.Serialization/types/IObjectReference.html">System.Runtime.Serialization.IObjectReference
</a>,
<a href=
"../System.Runtime.Serialization/types/ISerializable.html">System.Runtime.Serialization.ISerializable
</a></li>
172 <li><a href=
"../System.Runtime.Remoting/types/RemotingConfiguration.html">System.Runtime.Remoting.RemotingConfiguration
</a></li>
175 <li><a href=
"../System.Runtime.Remoting/types/RemotingServices.html">System.Runtime.Remoting.RemotingServices
</a></li>
178 <li><a href=
"../System.Runtime.Remoting/types/SoapServices.html">System.Runtime.Remoting.SoapServices
</a></li>
181 <li><a href=
"../System.Runtime.Remoting/types/TypeEntry.html">System.Runtime.Remoting.TypeEntry
</a></li>
183 <li><a href=
"../System.Runtime.Remoting/types/ActivatedClientTypeEntry.html">System.Runtime.Remoting.ActivatedClientTypeEntry
</a></li>
186 <li><a href=
"../System.Runtime.Remoting/types/ActivatedServiceTypeEntry.html">System.Runtime.Remoting.ActivatedServiceTypeEntry
</a></li>
189 <li><a href=
"../System.Runtime.Remoting/types/WellKnownClientTypeEntry.html">System.Runtime.Remoting.WellKnownClientTypeEntry
</a></li>
192 <li><a href=
"../System.Runtime.Remoting/types/WellKnownServiceTypeEntry.html">System.Runtime.Remoting.WellKnownServiceTypeEntry
</a></li>
196 <li><a href=
"../System/types/ValueType.html">System.ValueType
</a></li>
198 <li><a href=
"../System/types/Enum.html">System.Enum
</a></li>
200 <li><a href=
"../System.Runtime.Remoting/types/WellKnownObjectMode.html">System.Runtime.Remoting.WellKnownObjectMode
</a></li>
204 </ul><br><i><a href=
"../documentation_license.txt">
205 Copyright (c)
2002 Microsoft Corporation. All rights reserved.